﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using Microhard.Core;
using Microhard.JHWorkflowTrans;
using Microhard.WarehouseInsp.Buz.JHWorkflow;




namespace Microhard.Warehouse.WinService
{
    public partial class Service1 : MHBaseWinService
    {
        protected override void GetData(object state)
        {
            JHWorkflowImpl impl = new JHWorkflowImpl();
            List<ITransDataInDJ> idj = new List<ITransDataInDJ>();
            //项目立项
            idj.Add(new SupProjectTransJDImpl());
            //出库申请
            idj.Add(new OutInPutTransDJImpl());
            //更新数据状态
            impl.UpdateWorkflowStatusToBuzData(new JHGetConfig(), idj);
        }
    }
}
